package com.hygj.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户
 * 
 * @author 用户
 *
 */
public class User {

	private Integer id;
	private String username;// 用户名称
	private String password;// 用户名密码
	private String userDescription;//用户备注
	private List<Role> roles = new ArrayList<Role>();// 一个用户可以有多个角色
    
	
   
	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public String getUserDescription() {
		return userDescription;
	}

	public void setUserDescription(String userDescription) {
		this.userDescription = userDescription;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
